package com.cosseen.mapper;

import com.cosseen.pojo.Brand;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface BrandMapper {

    // 查询所有品牌
    List<Brand>  queryAllBrand();

    // 根据id查询品牌
    Brand queryById(int id);
}
